let reg=/[a-zA-Z]/
let username1='myName'
let username2='?.'
console.log(reg.test(username1));
console.log(reg.test(username2));